# l = ['h', 'o', 'l', 'l', 'e']
# s = ''
# for i in l:
#     s = ''.join(i)
# print(s)
#
# li = [1,3,4]
# t = tuple(li)
# d = {"a":1,"b":2}
# print(d["c"])

#
# i = 1
# r = 0
# while i <30:
#     i +=1
#     if i%2 == 0:
#         r = r+i
#         print(r)
#         print(i)
#     else:
#         r = r-i
#         print(r)
#         print(i)
# print(r)
#
# i = 0.0352
# s = 10000
# n = 0
# while s<10000*2:
#     s = s + s * i
#     n = n+1
#     print(s)
#     print(n)
# print(n)

def fun(n):
    s = 1
    for i in range(1,n+1):
        s = s * i
    print(s)

fun(3)